package cn.pengpeng;

import org.apache.hadoop.io.Writable;

import java.sql.ResultSet;
import java.sql.SQLException;

public abstract class MySQLInputWritable implements Writable {
    /**
     * 从数据返回信息中读取字段信息
     * @param rs
     * @throws SQLException
     */
    public abstract void readFieldsFromResultSet(ResultSet rs) throws SQLException;

}
